package cn.swust.designpatternlearningplatform.dao.sql;

import org.apache.ibatis.jdbc.SQL;

public class ObtainResultsDaoSql {
    public String getScore(String paperNumber, Integer topicId){
        return new SQL(){
            {
                SELECT("score");
                FROM("test_paper_concete_content");
                WHERE("paper_number=#{paperNumber}","topic_id=#{topicId}");
            }
        }.toString();
    }
}
